﻿<%@ Page Language="C#" AutoEventWireup="true" Inherits="Wjtour.Web.Admin.login" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link rel="stylesheet" type="text/css" href="css/login.css" />
    <script type="text/javascript">
        if (self != top) top.location = self.location;

        window.onload = function () {
            var oInput = document.getElementById("username");
            oInput.focus();
        }
    </script>
    <title>后台管理系统</title>
</head>
<body>
    <br />
    <br />
    <br />
    <br />
    <form method="post" action="" name="form" runat="server">
    <div class="login">
        <table width="417" height="195" border="0" align="center" cellpadding="0" cellspacing="0">
            <tr>
                <td width="28" height="122">
                    &nbsp;
                </td>
                <td width="82"></td>
                <td width="138">
                    &nbsp;
                </td>
                <td width="169">
                    &nbsp;
                </td>
            </tr>
            <tr>
                <td height="30">
                    &nbsp;
                </td>
                <td height="30" colspan="2">
                    <asp:TextBox ID="username" TabIndex="1" runat="server"/>
                </td>
                <td rowspan="4">
                    &nbsp;
                    <asp:ImageButton ID="loginBtn" CssClass="submit" runat="server" ImageUrl="~/admin/images/login_submit.gif"/>
                </td>
            </tr>
            <tr>
                <td height="30">
                    &nbsp;
                </td>
                <td height="30" colspan="2">
                    <asp:TextBox TextMode="Password" ID="password" TabIndex="2"  runat="server"/>
                </td>
            </tr>
            <tr>
                <td height="30">
                    &nbsp;
                </td>
                <td height="30">
                    <asp:TextBox ID="yzm" TabIndex="3" MaxLength="4" runat="server" />
                </td>
                <td><img src="ValidateCode.ashx" alt="验证码" onclick="refresh()" style="cursor:hand;"/></td>
            </tr>
        </table>
    </div>
    <input type="hidden" name="mod" value="login" /><input type="hidden" name="act" value="checklogin" /><input
        type="hidden" name="sub" value="1" />
    </form>
    
<script type="text/javascript">
    function refresh() {
        var evt = event.srcElement || event.target;
        evt.src = "ValidateCode.ashx?t=" + new Date().getMilliseconds();
    }
</script>
</body>
</html>
